package devbureau.fstore.common;

import devbureau.fstore.common.db.StoreDBImpl;

public class StoreFactory {

    private static StoreDBImpl registry = null;

    public static Store getStore() throws Exception{
        if(registry == null){
            registry = new StoreDBImpl();
        }
        return registry;
    }

    public static Store getStore(boolean useDS) throws Exception{
        if(registry == null){
            registry = new StoreDBImpl();
        }
        return registry;
    }
}
